package com.aaa.web.dao.studentapprovedao;

import com.aaa.entity.AppStcardApprove;
import com.aaa.entity.BackSchool;
import com.aaa.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Mapper
public interface StudentApproveDao {
    /*获取所有学生用户信息*/
    List<Map> getAllStudentUser(AppStcardApprove stcardApprove);
    /**根据手机号更改通过认证的学生用户信息*/
    int getAllStudentUserCount(AppStcardApprove stcardApprove);
    /*根据手机号取消认证更改app_userinfo表的信息*/
    int updateUserInfoForStudent(String telephone);
    /*根据手机号取消认证更改app_stcard_approve表的信息*/
    int updateStudentApprove(AppStcardApprove appStcardApprove);
    /*根据手机号取消认证更改app_userinfo表的信息*/
    int delUserInfoForStudent(String telephone);
    /*根据手机号取消认证更改app_stcard_approve表的信息*/
    int delStApprove(String telephone);
    /*获取所有需要认证的信息*/
    List<Map> getAllStudentApprove(AppStcardApprove stcardApprove);
    /*获取所有需要认证的信息的数量 */
    int getAllStudentApproveCount(AppStcardApprove stcardApprove);
    /*select框根据数据库动态展示数据*/
    List<BackSchool> getSchoolName();
}
